package com.course.design.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.course.design.entity.Dept;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 描述:
 *
 * @author qinlianji
 * @create 2020-03-15
 */
@Repository
public interface DeptMapper extends BaseMapper<Dept> {

    /**
     * 批量删除部门
     * @param ids
     */
    void batchDelete(@Param("ids") String ids);

    IPage<Dept> queryPage(Page<Dept> obj, @Param("deptname") String deptname);

}
